Smush\Core\Modules\Png2jpg B

Total Complexity 83
Dependencies 4
Dependents 1
Total lines 567
Lines of code 262
Logical lines of code 163
Comment lines 206
Methods 13
Properties 1

Methods 13

Method Rating Maintainability Complexity Lines of code
is_transparent()
A
46 14 37
convert_to_jpg()
A
46 12 37
png_to_jpg()
A
47 12 32
update_image_path()
A
46 9 37
can_be_converted()
A
54 10 21
update_image_url()
S
50 5 30
get_quality()
S
60 6 13
replace_file()
S
55 4 20
should_convert()
S
63 3 11
is_converted()
S
62 3 11
supports_imagick()
S
71 2 6
supports_gd()
S
71 2 6
init()
S
98 1 1